#sample driver module
obj-m := hello.o
KDIR = /usr/src/kernels/3.10.0-957.el7.x86_64/

all:
	$(MAKE) -C $(KDIR) M=$(PWD)

.PHONY:clean
clean:
	rm -f *.mod.c *.mod.o *.ko *.o *.tmp_versions